package com.kuang.mapper.pfsi;

import com.kuang.pojo.pfsi.AstPfsiDeviceBranch;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//注解表示了这是一个mybatis的一个mapper类  Dao层
@Mapper
@Repository  // Dao层的注解
public interface AstPfsiDeviceBranchMapper {

    int insert(AstPfsiDeviceBranch astPfsiDeviceBranch);

    List<AstPfsiDeviceBranch> selectAll();

    List<AstPfsiDeviceBranch> selectAllByExample(AstPfsiDeviceBranch astPfsiDeviceBranch);

    int update(AstPfsiDeviceBranch astPfsiDeviceBranch);

    List<AstPfsiDeviceBranch> selectAllByFail();

}
